package com.zagj.videocomparess;

import android.os.Environment;

import java.io.File;

/**
 * Created by Chen qin lang on 2018/6/13.
 */

public class FIleUtil {
    public static String createFile(){
        String path = Environment.getExternalStorageDirectory().getPath()+"/codec/";
        File file = new File(path);
        boolean mkdirs = file.mkdirs();
        if (!mkdirs){
            path=Environment.getExternalStorageDirectory().getAbsolutePath();
        }
        return path;
    }
}
